
/* Generated by Interface Builder */

#import "MyObject.h"
#import <appkit/Control.h>

@implementation MyObject

- setSliderIn:anObject
{
    sliderIn = anObject;
    return self;
}

- setSwitchIn:anObject
{
    switchIn = anObject;
    return self;
}

- setTextOut:anObject
{
    textOut = anObject;
    return self;
}

- setSliderOut:anObject
{
    sliderOut = anObject;
    return self;
}

- setFieldIn:anObject
{
    fieldIn = anObject;
    return self;
}

- setFieldOut:anObject
{
    fieldOut = anObject;
    return self;
}

- doIt:sender
{
const char *strptr;

	myFloat = [sliderIn floatValue];
	[sliderOut setFloatValue:myFloat];

	strptr = [fieldIn stringValue];
	[fieldOut setStringValue:strptr];

	myInt = [switchIn intValue];
	if (myInt)
		[textOut setStringValue:"ON"];
	else
		[textOut setStringValue:"OFF"];
    return self;
}


@end
